﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Wjtour.Common;
using Hjp.FrameWork.Common;

namespace Wjtour.Web.Front
{
    public partial class poetryshow : BasePage
    {
        private Wjtour.BLL.article_bll _bll = new BLL.article_bll();
        protected Wjtour.Domain.article data = new Domain.article();
        protected int id = 0;

        protected void Page_Load(object sender, EventArgs e)
        {
            id = Utils.StrToInt(Request["id"], 0);
            if (id > 0)
            {
                data = _bll.Load(id);
                data.hits += 1;
                _bll.Save(data);
            }
        }
    }
}
